<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div class="article-ctn"> 
        <h1>h1</h1>
        <h2>h2</h2>
        <h3>h3</h3>
        <h4>h4</h4>
        <h5>h5</h5>
        <h6>h6</h6>
        <h4>h4</h4>
        <h2>h2</h2>
        <h3>h3</h3>
        <h6>h6</h6>
    </div>
    <div class="catelog-ctn"></div>
</body>
<script src="./dist/js/main.js"></script>
<script>
    let catelogCtn = document.getElementsByClassName('catelog-ctn');
    let articleCtn = document.getElementsByClassName('article-ctn');
    let autocatelog = new AutoCatelog(articleCtn,catelogCtn);
    autocatelog.init();
</script>
</html>